import Layout from '@/layout'

const homeinfoRouter = {
  path: '/homeinfo',
  component: Layout,
  redirect: '/homeinfo/main-banner',
  name: 'homeinfo',
  meta: {
    title: '홈화면관리',
    icon: 'el-icon-document'
  },
  alwaysShow: true,
  children: [{
    path: 'main-banner',
    component: () => import('@/views/homeinfo/main-banner'),
    name: 'homeinfo-mainbanner',
    meta: {
      title: '메인배너',
      icon: 'el-icon-picture-outline'
    }
  }, {
    path: 'sub-banner',
    component: () => import('@/views/homeinfo/sub-banner'),
    name: 'homeinfo-subbanner',
    meta: {
      title: '서브배너',
      icon: 'el-icon-picture-outline'
    }
  },
  //   {
  //   path: 'recruit',
  //   component: () => import('@/views/homeinfo/sub-banner'),
  //   name: 'homeinfo-recruit',
  //   meta: {
  //     title: '주요채용공고',
  //     icon: 'el-icon-setting'
  //   }
  // }, {
  //   path: 'strategy',
  //   component: () => import('@/views/homeinfo/sub-banner'),
  //   name: 'homeinfo-strategy',
  //   meta: {
  //     title: '매칭성공전략',
  //     icon: 'el-icon-setting'
  //   }
  //   },
  {
    path: 'popup',
    component: () => import('@/views/homeinfo/popup'),
    name: 'homeinfo-popup',
    meta: {
      title: '팝업',
      icon: 'el-icon-document'
    }
  }]
}
export default homeinfoRouter
